<?php

class PdesTaskListAction extends BaseAction 
{
	public function execute()
	{
		$today			=	date("Y-m-d");
		$operUser		=	'jackie.lee';
		$start			=	0;
		$length			=	10;

		
		try
		{
			$audit      =   new audit_log();
			$taskDay['today']       =   date("Y-m-d");
			$taskDay['lastWorkDay'] =   $audit->getWorkDays($taskDay['today']);

			$this->setData('taskDay', $taskDay);

			return 'succ';
		}
		catch(Exception $e)
		{
			error_log("task list" .var_export($e,1));
			$this->emptyData();
			return 'system-error';
		}
	}
}

?>
